package com.yoda.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author itcast
 * @since 2023-05-15
 */
@TableName("ydd_advimg")
@ApiModel(value = "YddAdvimg对象", description = "")
public class YddAdvimg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("广告图位置，关联广告位id")
    private String advimgpos;

    @ApiModelProperty("广告图地址")
    private String advimgsrc;

    @ApiModelProperty("广告图描述")
    private String advimgdesc;

    @ApiModelProperty("广告图链接")
    private String advimglink;

    @ApiModelProperty("是否为默认数据，null表示不是，1表示是")
    private String defaultData;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAdvimgpos() {
        return advimgpos;
    }

    public void setAdvimgpos(String advimgpos) {
        this.advimgpos = advimgpos;
    }

    public String getAdvimgsrc() {
        return advimgsrc;
    }

    public void setAdvimgsrc(String advimgsrc) {
        this.advimgsrc = advimgsrc;
    }

    public String getAdvimgdesc() {
        return advimgdesc;
    }

    public void setAdvimgdesc(String advimgdesc) {
        this.advimgdesc = advimgdesc;
    }

    public String getAdvimglink() {
        return advimglink;
    }

    public void setAdvimglink(String advimglink) {
        this.advimglink = advimglink;
    }

    public String getDefaultData() {
        return defaultData;
    }

    public void setDefaultData(String defaultData) {
        this.defaultData = defaultData;
    }

    @Override
    public String toString() {
        return "YddAdvimg{" +
        "id=" + id +
        ", advimgpos=" + advimgpos +
        ", advimgsrc=" + advimgsrc +
        ", advimgdesc=" + advimgdesc +
        ", advimglink=" + advimglink +
        ", defaultData=" + defaultData +
        "}";
    }
}
